package com.richstonedt.smartcity.xaytsccommoncs.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * <b><code>ObsConfig</code></b>
 * <p/>
 * Description  obs参数配置类
 * <p/>
 * <b>Creation Time:</b> 2022/3/29 15:56:45
 *
 * @author tangjiahuan
 * @since xaytsc-common-be
 */
@Configuration
@ConfigurationProperties(prefix = "huawei.obs")
@Data
public class ObsProperties {
    /**
     * 终端节点
     */
    private String endPoint;
    /**
     * 地区
     */
    private String bucketLoc;
    /**
     * 访问key
     */
    private String ak;
    /**
     * 访问秘钥
     */
    private String sk;
    /**
     * 访问桶
     */
    private String bucketName;

    /**
     * socket超时时间
     */
    private int socketTimeout;
    /**
     * 链接超时时间
     */
    private int connectionTimeout;



}
